package com.zaprk.mapper;

import com.zaprk.pojo.Person;
import org.apache.ibatis.annotations.Select;

/**
 * @PackageName: com.zaprk.mapper
 * @ClassName: IPersonMapper
 * @Description:
 * @author: RZS
 * @date: 2024/3/11  11:33
 */
public interface IPersonMapper {

    // 查询数据
    @Select("select id, username, password from person where id=#{id}")
    Person selectById(Integer id);
}
